/*
 * Copyright (c) 2017, Li Bo/Alex Lee All rights reserved.
 * 
 * http://www.libo4dream.club/
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
 
package com.hyts.bmsp.service.dictionary;


import com.hyts.bmsp.model.dictionary.DictionaryTypeModel;
import com.hyts.bmsp.model.dictionary.DictionaryTypeQueryDTO;
import com.jfinal.plugin.activerecord.Page;

/**
 * @ClassName: DictionaryTypeService
 * @Description: 数据字典类型业务逻辑接口
 * @author: LiBo/Alex Lee
 * @date: 2017年9月23日 下午8:45:04
 * @email: alexlibochn@china-pui.com.cn/alex.link@foxmail.com
 */
public interface DictionaryTypeService {

	
	 /**
	 * @Title: findDictionaryList
	 * @Description: 字典类型查询操作服务
	 * @param dto
	 * @return
	 * @return: Page<DictionaryTypeViewDTO>
	 */
	public Page<DictionaryTypeModel> findDictionaryTypeList(DictionaryTypeQueryDTO dto);
	
	/**
	 * @Title: loadDicTypeModel
	 * @Description: 加载数据字典类型
	 * @param model
	 * @return
	 * @return: DictionaryQueryTypeModel
	 */
	public DictionaryTypeModel loadDicTypeModel(DictionaryTypeQueryDTO model);
	
	/**
	 * @Title: editDicTypeModel
	 * @Description: 编辑字典类型model模型
	 * @param dto
	 * @return
	 * @return: boolean
	 */
	public boolean editDicTypeModel(DictionaryTypeQueryDTO dto);
	
	/**
	 * @Title: saveDicTypeModel
	 * @Description: 保存字典类型model模型
	 * @param dto
	 * @return
	 * @return: boolean
	 */
	public boolean addDicTypeModel(DictionaryTypeQueryDTO dto);
	
	/**
	 * @Title: deleteDicTypeModel
	 * @Description: 删除字典类型模型数据
	 * @param dto
	 * @return
	 * @return: boolean
	 */
	public boolean deleteDicTypeModel(DictionaryTypeQueryDTO dto);

}
